package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.Address;
import org.apache.commons.math3.analysis.function.Add;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface AddressMapper extends BaseMapper<Address> {

    List<Address> getAddressList(Integer userId);

    Integer insertAddress(Address address);

    Integer deleteById(Integer addressId);

    Address getByaAddressId(Integer addressId);
}
